package com.itheima_03;
/*
    求数组中的最大值
*/
public class GetMax {
    public static void main(String[] args) {
        int [] arr = {11, 22, 55, 44, 33};
        int max = arr[0];
        for (int i = 0; i < arr.length; i++) {
            if (max < arr[i]) {
                max = arr[i];
            }
        }
        System.out.println(2+"aliang"+"\r\n"+1);
        System.out.println("max:" + max);
    }
}
